package com.hucheng.activity.service;

import com.hucheng.activity.query.ExchangeQuery;
import com.hucheng.activity.vo.ExchangePrizeVO;
import com.hucheng.activity.vo.ExchangeVO;
import com.hucheng.common.exception.EduException;
import com.hucheng.common.page.CommonPager;

/**
 * @Author: 凉白开不加冰
 * @Version: 0.0.1V
 * @Date: 2019-07-15
 * @Description: 兑换活动接口
 **/
public interface ExchangeService {
    CommonPager<ExchangeVO> list(ExchangeQuery exchangeQuery);

    ExchangePrizeVO exchange(Integer userId,Integer exchangeConfigId,Integer exchangeNo) throws EduException;

    void initExchangeList(ExchangeQuery exchangeQuery);
}
